﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace WisDom.SmartTMS.Entity
{
    //用户表
    //继承Entity<int>  自带主键id
     public class Users: BasicAggregateRoot<Guid>
    {
        //显示
        public Users()
        {

        }

        /// <summary>
        /// 添加用户
        /// </summary>
        public Users(Guid Id, string UserNo, string UserName, int RoleId, string PassWord)
        {
            this.Id = Id;
            this.UserNo = UserNo;
            this.UserName = UserName;
            this.RoleId = RoleId;
            this.PassWord = PassWord;
        }

        //账号
        public string UserNo { get; set; }

        //用户名
        public string UserName { get; set; }

        //角色id
        public int RoleId { get; set; }

        //密码
        public string PassWord { get; set; }
    }
}
